# -*- coding: UTF-8 -*-

import execjs

phantomjs=execjs.get("PhantomJS")
with open("./data.js", "r") as f:
    source=f.read()
runntime=phantomjs.compile(source)
print runntime
print runntime.call("getD")